package com.itheima.dao;

import com.itheima.pojo.OrderSetting;

import java.util.Date;
import java.util.List;
import java.util.Map;

public interface OrderSettingDao {
    public void add(OrderSetting orderSetting);
    public void editNumberByOrderDate(OrderSetting orderSetting);
    // 当时我就说要返回一个OrderSetting 预约人数是多少 和当前这次录入是否一致 如果一致的话我就什么都不错 如果不一致我再更新
    public long findCountByOrderDate(Date orderDate);
    public List<OrderSetting> getOrderSettingByMonth(Map map);
    public OrderSetting findByOrderDate(String orderDate);
    public void editReservationsByOrderDate(OrderSetting orderSetting);
}
